/*
 * @Author: zhangxin 411020991@qq.com
 * @Date: 2023-04-11 09:08:08
 * @LastEditors: zhangxin 411020991@qq.com
 * @LastEditTime: 2023-04-19 09:28:40
 * @FilePath: \CIMS-V6_Frontend\main\src\pages\User\components\LogoHeader\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import TheLocales from '../../../../components/TheLocales';
import { FormattedMessage, history, SelectLang, useIntl, useModel, Helmet } from '@umijs/max';
import './index.less';

const index = () => {
    const intl = useIntl()
    return (
        <div className='box-header'>
            <div className='header-left'>
                LOGO
            </div>
            <div className='header-right'>
                <span className='right-text'>
                    {intl.formatMessage({
                        id: 'TEXT_90',
                        defaultMessage: '已有账号,'
                    })}
                    <a href="/user/login" style={{ textDecoration: 'none' }}>
                        {intl.formatMessage({
                            id: 'TEXT_91',
                            defaultMessage: '立即登录'
                        })}
                    </a>
                </span>
                <TheLocales />
            </div>
        </div>
    )
}

export default index